package com.joysuch.wwyt.api.mh.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.io.Serializable;

import static javax.persistence.GenerationType.IDENTITY;

@Data
public class MhPlatformPointBean implements Serializable {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("监测点id")
    private Long pointId;

    @ApiModelProperty("平台id")
    private Long platformId;

    @ApiModelProperty("监测点编码")
    private String pointCode;

    @ApiModelProperty("监测点名称")
    private String pointName;

    @ApiModelProperty("监测点类型id")
    private Long pointTypeId;
    @ApiModelProperty("监测点类型名称")
    private String pointTypeName;

    @ApiModelProperty("对接平台编号/名称")
    private String codeOrName;

    @ApiModelProperty("校正系数")
    private Double correctionFactor;

    @ApiModelProperty("接入开关:0关,1开")
    private Integer switchState;

    @ApiModelProperty("接入开关状态名称")
    private String switchName;
}
